﻿using System.ComponentModel;

namespace SmartFront.Toolkit.ActionFramework
{
    /// <summary>
    /// Generic Class
    /// </summary>
    [Localizable(false)]
    public static class ActionParameterDefaultValueResolver
    {
        /// <summary>
        /// Generates default of T
        /// </summary>
        /// <returns></returns>
		[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter",
			Justification = "Explicit T allows to get default value for T at runtime before calling action and set value to default parameters.")]
		public static T GetDefaultValue<T>()
        {
            return default(T);
        }
    }
}